<div class="row">
    <div class="col-md-12 col-xs-12">
        <h3 class="text-uppercase section-title clear-bdr"><?php echo $pageTitle; ?></h3>
    </div>
</div>
<div class="row">
    <?php foreach ($shop_cate as $key => $cate) { ?>
    <div class="col-md-12 col-xs-12 col-sm-12">
        <div class="bs-callout bs-callout-info">
            <h4 class="text-uppercase"><?php echo $cate->title; ?></h4>
            <small><?php echo $cate->parent_title; ?></small>
        </div>
    </div>
    <?php
    foreach($aProduct as $product) {
        if($product->shop_cate_id == $cate->id) {
            $this->load->view('shop-themes/'.$shop->template.'/layout/product-item.html.php', array('product' => $product));
        }
    }
    ?>
    <?php } ?>
</div>